﻿using System.ComponentModel.DataAnnotations;
using Localization;
using SinBiota.Model.Entities.CustomAttributes;

namespace SinBiota.Model.Entities
{
    public class TaxonReference : BaseEntity
    {
        [Required(ErrorMessageResourceType = typeof(Messages), ErrorMessageResourceName = "FieldCannotBeEmpty")]
        [LocalizedName("Title", NameResourceType = typeof(Strings))]
        public virtual string Title { get; set; }
    }
}
